package day09;

/**
 * 
 * @author: yyfei  
 * @email:  yyfei123@qq.com
 */
public class AcountTest {
	public static void main(String[] args) {

		Credit credit=new Credit("123456",10000,5000);
		System.out.println("账户金额："+credit.getBalance());
		System.out.println("信用金额："+credit.getLimits());	
		credit.getMoney(2000);
		System.out.println("账户余额："+credit.getBalance());
		System.out.println("信用余额："+credit.getLimits());
		
	}
}
